package com.eryos.gwt.estate.core.service;

import com.google.gwt.user.client.rpc.RemoteService;
import com.google.gwt.user.client.rpc.RemoteServiceRelativePath;

/**
 * The client side stub for the RPC service.
 * 
 * @author combeol
 * @version $Revision$
 */
@RemoteServiceRelativePath("springGwtServices/greetingService")
public interface GreetingService extends RemoteService {

    /**
     * Default Service method.
     * 
     * @param name
     *            of the user
     * @return Welcome text
     * @throws IllegalArgumentException
     *             in case of error
     */
    String greetServer(String name) throws IllegalArgumentException;
}
